package com.jiuli_travel.attraction_service.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 娱乐项目年龄定价表
 * </p>
 *
 * @author jiuli
 * @since 2024-04-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("age_based_price")
public class AgeBasedPriceVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 年龄定价ID
     */
    @TableId(value = "price_id", type = IdType.AUTO)
    private Long priceId;

    /**
     * 娱乐项目ID
     */
    private Long projectId;

    /**
     * 年龄区间起始值
     */
    private Integer ageRangeStart;

    /**
     * 年龄区间结束值
     */
    private Integer ageRangeEnd;

    /**
     * 对应年龄段价格
     */
    private BigDecimal price;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


}
